<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="Cache-Control" content="No-Cache">
	<meta http-equiv="Pragma" content="No-Cache">

	<title>운세의 신</title>

	<link rel="stylesheet" type="text/css" href="/css/common.css">
	
	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
	<script type="text/javascript">
		function modifyItem(idx) {
			if (confirm("정말 삭제하시겠습니까?")) {
				location.href = "/product/cashpoint/delete?idx="+idx;
			}
		}
	</script>
</head>
<body>
<!-- Contents -->
<div>
	<h2>패키지 상품 쿠폰 관리 - 리스트</h2>
</div>
<div>
	<form method="post" id="frm" action="/product/package/update_coupon">
		<fieldset>
			<table width="100%" border="1" cellpadding="2" cellspacing="0">
				<tr>
					<td>패키지</td>
					<td>종류</td>
					<td>이용권수</td>
				</tr>
<?	foreach ($coupon_list as $items) : ?>
				<tr>
					<td><input type="hidden" name="package_cd[]" value="<?=$items['package_cd'];?>" /><?=$items['package_name'];?></td>
					<td><input type="hidden" name="service_group_id[]" value="<?=$items['service_group_id'];?>" /><?=$items['service_group_name'];?> 이용권</td>
					<td><input type="text" name="qty[]" size="5" maxlength="5" value="<?=$items['qty'];?>" />장</td>
				</tr>
<?	endforeach ?>
			</table>
			<input type="submit" value="저장" /> <input type="button" value="닫기" onclick="window.close();" />
		</fieldset>
	</form>
</div>
<!--// Contents -->

</body>
</html>